package com.ql.design.adapter.demo1;

import com.ql.design.adapter.Targetable;


public class Test {
	public static void main(String[] args) {
		//把Source类按照接口Targetable进行调用
//		适配后的Source类可以通过Targetbale接口来实现对Source的操作
		Targetable t = new Adpter();
		
		t.operation();
		t.operation2();
	}
}	
